import java.util.Scanner;

public class demo008 {
    public static void main(String[] args) {

        Scanner scan=new Scanner(System.in);
        int a=scan.nextInt();
        if(a%4==0&&a%100!=0||a%400==0)
        {
            System.out.println(a+"是闰年");
        }
        else
        {
            System.out.println(a+"不是闰年");
        }


    }
}
